package com.ygqh.baby.service;
import java.util.List;

import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.model.wdt.qyb.WdtSyncLogistics;
import  com.ygqh.baby.po.KidsOrderLogistics;
import com.ygqh.baby.po.YgLogistics;

public interface KidsOrderLogisticsService {

    
    List<KidsOrderLogistics> find();
	
    int findCount();
	
	KidsOrderLogistics findById(Long id);
	
	int save(KidsOrderLogistics kidsOrderLogistics );
	
	int update(KidsOrderLogistics kidsOrderLogistics);
	
	int saveOrUpdate(KidsOrderLogistics kidsOrderLogistics);
	
	ResultSet<KidsOrderLogistics> search(QueryInfo queryInfo,String orderId,Boolean isSync);
	
	void loadKidsLogistics(List<WdtSyncLogistics> trades);

	int updateSyncSuccessByTid(List<String> orderList);
	
	int updateSyncSuccessById(List<Long> idList);

	int addBatchByYgLogistics(List<YgLogistics> ygLogistics);

}
